<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>选项卡布局</title>
    <style>
        section {
            height: 300px;
            padding: 30px 0;
            background-color: #ed6000;
            display: flex;
            flex-direction: column;
        }

        h1 {
            margin: auto;
        }

        .content {
            flex: 1;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            align-items: center;
        }

        .content > div {
            flex: 0 0 300px;
            height: 100px;
            background-color: lightpink;
        }

        .content > div:hover {
            align-self: stretch;
        }
    </style>
</head>
<body>

<section>
    <h1>专业课程</h1>
    <div class="content">
        <div>选项1</div>
        <div>选项2</div>
        <div>选项3</div>
    </div>

</section>


</body>
</html>